package belajarzk.action.report;

import org.zkoss.zul.Combobox;
import org.zkoss.zul.Comboitem;

public class CommonReport {

	public static Combobox generateReportType() {
		Combobox reportType = new Combobox();
		Comboitem comboitem = new Comboitem(Report.PDF);
		comboitem.setValue(Report.PDF);
		reportType.appendChild(comboitem);
		// comboitem = new Comboitem(Report.XLS);
		// comboitem.setValue(Report.XLS);
		// reportType.appendChild(comboitem);
		comboitem = new Comboitem(Report.RTF);
		comboitem.setValue(Report.RTF);
		reportType.appendChild(comboitem);
		reportType.setSelectedIndex(0);
		return reportType;
	}

}
